on Click
abstract fun onClick(mouseX: Double, mouseY: Double, isMouseOver: Boolean, button: Int): PopupWidget.ClickResult
Apply a click and return a result.
Return
ClickResult for the action.
Author
fzzyhmstrs
Since
0.6.0
Parameters
mouse X
Double - x position of the mouse click
mouse Y
Double - y position of the mouse click
is Mouse Over
whether the click is over this popup or missing it
button
Int code of the button click